var puts = require("sys").puts;
setInterval(
    function () {
        puts("hello");
    }, 500);

process.addListener("SIGINT", 
    function () {
        puts("\ngood bye");
        process.exit(0)
    });

